<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录失败 - 量子科技</title>
    <style>
        :root {
            --primary-color: #00a8ff;
            --dark-bg: #0f1621;
            --card-bg: #1a2233;
            --text-light: #e0e6f0;
            --accent-color: #00f7ff;
            --error-color: #ff4d4f;
        }

        body {
            background-color: var(--dark-bg);
            font-family: 'Segoe UI', Arial, sans-serif;
            color: var(--text-light);
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            background-image:
                radial-gradient(circle at 20% 30%, rgba(255, 77, 79, 0.1) 0%, transparent 20%),
                radial-gradient(circle at 80% 70%, rgba(255, 77, 79, 0.1) 0%, transparent 20%);
        }

        .error-container {
            background-color: var(--card-bg);
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            width: 400px;
            padding: 40px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .error-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--error-color);
        }

        .error-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 25px;
            position: relative;
        }

        .error-icon::before,
        .error-icon::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            border-radius: 50%;
        }

        .error-icon::before {
            width: 80px;
            height: 80px;
            background-color: rgba(255, 77, 79, 0.2);
            animation: pulse 2s infinite;
        }

        .error-icon::after {
            width: 60px;
            height: 60px;
            background-color: rgba(255, 77, 79, 0.4);
            animation: pulse 2s infinite 0.5s;
        }

        .error-content h2 {
            font-size: 24px;
            margin-bottom: 15px;
            color: var(--error-color);
        }

        .error-content p {
            font-size: 15px;
            line-height: 1.6;
            margin-bottom: 25px;
            opacity: 0.8;
        }

        .error-details {
            background-color: rgba(255, 77, 79, 0.1);
            border-left: 3px solid var(--error-color);
            padding: 12px 15px;
            margin-bottom: 25px;
            text-align: left;
            font-size: 14px;
            border-radius: 0 4px 4px 0;
        }

        .action-buttons {
            display: flex;
            justify-content: center;
            gap: 15px;
        }

        .btn {
            padding: 10px 20px;
            border-radius: 6px;
            font-weight: 500;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .btn-primary {
            background-color: var(--error-color);
            color: white;
            border: none;
        }

        .btn-primary:hover {
            background-color: #ff7875;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 77, 79, 0.3);
        }

        .btn-secondary {
            background-color: transparent;
            color: var(--primary-color);
            border: 1px solid var(--primary-color);
        }

        .btn-secondary:hover {
            background-color: rgba(0, 168, 255, 0.1);
            transform: translateY(-2px);
        }

        .glitch-effect {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background:
                linear-gradient(90deg, transparent 48%, rgba(255, 77, 79, 0.1) 50%, transparent 52%),
                linear-gradient(0deg, transparent 48%, rgba(255, 77, 79, 0.1) 50%, transparent 52%);
            background-size: 10px 10px;
            opacity: 0.1;
            z-index: -1;
            animation: glitch 0.1s infinite;
        }

        @keyframes pulse {
            0% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 1;
            }
            100% {
                transform: translate(-50%, -50%) scale(1.5);
                opacity: 0;
            }
        }

        @keyframes glitch {
            0% {
                background-position: 0 0;
            }
            100% {
                background-position: 10px 10px;
            }
        }
    </style>
</head>
<body>
    <div class="glitch-effect"></div>

    <div class="error-container">
        <div class="error-icon">
            <svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="position: relative; z-index: 2; color: var(--error-color);">
                <circle cx="12" cy="12" r="10"></circle>
                <line x1="12" y1="8" x2="12" y2="12"></line>
                <line x1="12" y1="16" x2="12.01" y2="16"></line>
            </svg>
        </div>

        <div class="error-content">
            <h2>登录失败</h2>
            <p>您的登录尝试未成功，请检查您的凭据并重试。</p>

            <div class="error-details">
                <strong>错误信息：</strong> 密码不正确
                <br>
                <strong>时间：</strong> <span id="current-time"></span>
                <br>
                <strong>建议：</strong> 检查大小写或尝试重置密码
            </div>

            <div class="action-buttons">
                <button class="btn btn-primary" onclick="window.location.href='login.html'">返回登录页面</button>
                <button class="btn btn-secondary" onclick="window.location.href='forgot-password.html'">忘记密码</button>
            </div>
        </div>
    </div>

    <script>
        // 显示当前时间
        function updateTime() {
            const now = new Date();
            const timeString = now.toLocaleString('zh-CN', {
                year: 'numeric',
                month: '2-digit',
                day: '2-digit',
                hour: '2-digit',
                minute: '2-digit',
                second: '2-digit',
                hour12: false
            });
            document.getElementById('current-time').textContent = timeString;
        }

        updateTime();
        setInterval(updateTime, 1000);

        // 添加随机干扰效果
        const glitchEffect = document.querySelector('.glitch-effect');

        function randomGlitch() {
            const intensity = Math.random() * 0.2;
            glitchEffect.style.opacity = intensity;

            setTimeout(randomGlitch, Math.random() * 1000 + 500);
        }

        randomGlitch();
    </script>
</body>
</html>